<?php $success_message = $this->st_registry->registry('admin/site/privilege/success'); ?>
<?php $error_message = $this->st_registry->registry('admin/site/privilege/error'); ?>
<?php if (isset($success_message)) :?>
    <div class="success_message" onclick="$(this).fadeOut(300);"><?php echo $success_message ?></div>
    <?php $this->st_registry->clearRegistry('admin/site/privilege/success');  ?>
<?php endif; ?>
<?php if (isset($error_message)) :?>
    <div class="error_message" onclick="$(this).fadeOut(300);"><?php echo $error_message ?></div>
    <?php $this->st_registry->clearRegistry('admin/site/privilege/error');  ?>
<?php endif; ?>
